GrapeCity MultiRow Windows Forms Documentation
Register(IAction,Keys[]) Method


The action to execute.
The corresponding keys.
Registers a set of ShortcutKeys to all ViewModes.
Syntax
Public Overloads Sub Register( _
   ByVal action As IAction, _
   ByVal ParamArray keys() As Keys _
) 
Dim instance As ShortcutKeyManager
Dim action As IAction
Dim keys() As Keys
 
instance.Register(action, keys)
public void Register( 
   IAction action,
   params Keys[] keys
)

Parameters

action
The action to execute.
keys
The corresponding keys.
Exceptions
ExceptionDescription
System.ArgumentNullException

The action is a null reference (Nothing in Visual Basic).

-or-

The keys is a null reference (Nothing in Visual Basic).

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ShortcutKeyManager Class
ShortcutKeyManager Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.